const _import = require('../_import');
import Layout from '@/page/index/'
import IconFont from '@/views/icon/index'
export default [{
    path: '/wel',
    component: Layout,
    redirect: '/wel/index',
    children: [{
        path: 'index',
        name: '首页',
        component: _import('wel')
    }]
},{
    path: '/admin',
    component: Layout,
    children: [{
        path: 'user',
        name: '用户管理',
        component: _import('admin/user/index','views')
    },{
        path: 'role',
        name: '角色管理',
        component: _import('admin/role/index','views')
    },{
        path: 'menu',
        name: '菜单管理',
        component: _import('admin/menu/index','views')
    },{
        path: 'org',
        name: '机构管理',
        component: _import('admin/org/index','views')
    }]
},{
    path: '/personal',
    component: Layout,
    children: [{
        path: 'info',
        name: '个人信息',
        component: _import('personal/info/index','views')
    }]
},{
    path:'/icon',
    component:Layout,
    redirect: '/icon/index',
    children: [{
        path: 'index',
        name: '阿里图标',
        component: IconFont
    }]
}]